package com.sky.demo.global;

import android.app.Application;

import com.sky.demo.utils.ActivityManager;

public class MyApplication extends Application {
//	SmsContent content = new SmsContent(
//			RegisterSecondActivity.this, new Handler(), captcha);
//	// 注册短信变化监听
//	RegisterSecondActivity.this.getContentResolver()
//			.registerContentObserver(Uri.parse("content://sms/"),
//					true, content);

	
	private ActivityManager activityManager = null;

	public ActivityManager getActivityManager() {
		return activityManager;
	}

	public void setActivityManager(ActivityManager activityManager) {
		this.activityManager = activityManager;
	}

	@Override
	public void onCreate() {
		super.onCreate();
		// 初始化自定义Activity管理器
		activityManager = ActivityManager.getScreenManager();
	}
	public void exit() {
    }
}
